home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / lisp / wgdb-42.lha / wgdb-4.2 / bfd / hosts / h-news.h < prev    next >
C/C++ Source or Header  |  1992-09-11  |  2KB  |  73 lines

  1. #include <fcntl.h>
  2. #include <errno.h>
  3. #include <stdio.h>
  4. #include <sys/types.h>
  5. #include <sys/stat.h>
  6. #include <ctype.h>
  7. #include <string.h>
  8. #include <sys/file.h>
  9. #ifndef O_ACCMODE
  10. #define O_ACCMODE (O_RDONLY | O_WRONLY | O_RDWR)
  11. #endif
  12. #define SEEK_SET 0
  13. #define SEEK_CUR 1
  14.  
  15. #define    MISSING_VFPRINTF
  16.  
  17. extern PROTO(int, abort,(void));
  18. extern PROTO(int, close,(int));
  19. extern PROTO(int, fcntl,(int des, int cmd, int e));
  20. extern PROTO(int, fprintf,(FILE *,char *,...));
  21. extern PROTO(int, printf,(char *,...));
  22. extern PROTO(int, qsort,(void *data,int els, int siz, int func()));
  23. extern PROTO(int, exit,(int));
  24. extern PROTO(int, fseek,(FILE*, int, int));
  25. extern PROTO(int, fclose,(FILE*));
  26. extern PROTO(void, bcopy,(char*,char*,int));
  27. extern PROTO(int, bcmp,(char *, char *, int));
  28. extern PROTO(void, bzero,(char *, int));
  29. extern char * strchr();
  30. extern PROTO(void, perror,(char *));
  31. extern char *getenv();
  32. extern char *memchr();
  33. extern char *strrchr();
  34. extern int chmod();
  35. extern int fread();
  36. extern int fstat();
  37. extern int fwrite();
  38. extern int sscanf();
  39. extern int stat();
  40. extern int strtol();
  41. void free();
  42. char *malloc();
  43. char *realloc();
  44. PROTO (void, perror, (char *s));
  45. extern char *strrchr();
  46. extern char *ctime();
  47. extern int _flsbuf();
  48. extern int fclose();
  49. extern int time();
  50. extern int utimes();
  51. extern int vfprintf();
  52. extern long atol();
  53. extern char *getenv();
  54. extern int fputc();
  55. extern int unlink();
  56.  
  57.  
  58. /* EXACT TYPES */
  59. typedef char int8e_type;
  60. typedef unsigned char uint8e_type;
  61. typedef short int16e_type;
  62. typedef unsigned short uint16e_type;
  63. typedef int int32e_type;
  64. typedef unsigned int uint32e_type;
  65.  
  66. /* CORRECT SIZE OR GREATER */
  67. typedef char int8_type;
  68. typedef unsigned char uint8_type;
  69. typedef short int16_type;
  70. typedef unsigned short uint16_type;
  71. typedef int int32_type;
  72. typedef unsigned int uint32_type;
  73.